<?
require "include/bittorrent.php";
dbconn(true);
loggedinorreturn();

$user = $CURUSER['id'];
$game = 8;
$level = (int)$_GET['Level'];
$score = (int)$_GET['Score'];
if ($level && $score && $game)
query("INSERT INTO `highscores` ( `ID` , `game` , `user` , `level` , `score` ) VALUES ( '', '".$game."', '".$user."', '".$level."', '".$score."')") or die(mysql_error());
die;
?>